//
//  BIDRentCell.m
//  HJGJCommunity
//
//  Created by mal on 2017/6/14.
//  Copyright © 2017年 mal. All rights reserved.
//

#import "BIDRentCell.h"

@implementation BIDRentCell
@synthesize imgView;
@synthesize titleLabel;
@synthesize rentTypeLabel;
@synthesize priceLabel;
@synthesize delegate;
@synthesize indexPath;

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)btnDownHandler:(UIButton *)btn
{
    [delegate showEditableViewAtIndexPath:self.indexPath sender:btn];
}

- (void)showMenuBtn
{
    _trailingForTitleLabelConstraint.constant = -22;
    _maskBtn.hidden = NO;
    _arrowImgView.hidden = NO;
    [self setNeedsLayout];
    [self layoutIfNeeded];
}

@end
